package test05.demo1;

public class Main {
    public static void main(String[] args) {
        MyRunnable runnable = new MyRunnable("账号",3000);
        MyRunnable runnable1 = new MyRunnable("银联卡", 4000);
        Thread thread = new Thread(runnable, "老公");
        Thread thread2 = new Thread(runnable1, "老婆");
        thread.start();
        thread2.start();
    }
}
